Planar prediction mode

ABSTRACT

New intra planar modes are introduced for predicting digital video data. As part of the new intra planar modes, various methods are offered for predicting a first sample within a prediction unit, where the first sample is needed for referencing to when processing the new intra planar modes. And once the first sample is successfully predicted, the new intra planar modes are able to predict a sample of video data within the prediction unit by processing a bi-linear interpolation of four previously reconstructed reference samples.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. application Ser. No.16/558,020, filed on Aug. 30, 2019, which is a continuation of U.S.application Ser. No. 15/649,906, filed Jul. 14, 2017, now U.S. Pat. No.10,402,674, which is a continuation of U.S. application Ser. No.14/324,446 filed Jul. 7, 2014, now U.S. Pat. No. 9,762,866, which is acontinuation of U.S. application Ser. No. 13/115,397, filed May 25,2011, now U.S. Pat. No. 8,798,146, which claims the benefit of U.S.Provisional Patent Application No. 61/347,821 filed on May 25, 2010;U.S. Provisional Patent Application No. 61/445,538 filed on Feb. 23,2011; U.S. Provisional Patent Application No. 61/451,121 filed on Mar.10, 2011; and U.S. Provisional Patent Application No. 61/471,185 filedon Apr. 3, 2011. The disclosures of the prior applications areincorporated by reference in their entirety.

BACKGROUND Field of the Invention

The present invention relates to a method and apparatus for performingintra planar mode type prediction decoding on digital video data thathas been encoded using an intra planar mode type prediction.

Discussion of the Related Art

A digital video signal is comprised of a sequence of digital videoframes that are a representation of an original RGB video signal. Aspart of the analog to digital signal transformation, each frame of theoriginal RGB video signal is encoded into the digital video frames ofdata that comprise the digital video signal. The purpose of the encodingprocess is to calculate as accurate a digital prediction of the originalRGB video signal as possible while also attempting to maximize acompression of the binary data that is the digital representation of theoriginal RGB video signal. While there exists both inter predictionmethods and intra prediction methods for encoding a video signal, thepresent invention is only concerned with the intra prediction methodthat is also referred to as a spatial prediction method.

In order to accomplish the encoding process, an encoding unit willprocess a prediction on a portion of an original video frame in order toencode it into digital video data. The resulting encoded digital videodata is referred to as a prediction unit. A plurality of predictionunits will typically comprise a tree block of video data, a plurality oftree blocks will typically comprise a slice of video data and aplurality of slices will then typically comprise a frame of digitalvideo data, although other configurations are possible. Pertainingspecifically to the intra prediction methods that rely on spatialpredictions, a current prediction unit that is being processed will bepredicted by referencing previously predicted samples that spatiallyneighbor the current prediction unit. Once all of the digital videoframes have been predicted and encoded, the digital video program issaid to be fully compressed and ready for storage or transmission asdigital video data or a signal. Along with the actual digital videodata, the encoding unit will also include identifying information thatindicates which prediction mode was applied to predict each predictionunit of video data.

A decoding unit is then tasked with performing the decoding, ordecompression, of the digital video data/signal. The decoding isprocessed by applying the same prediction mode processing on eachprediction unit as was applied by the encoding unit. This isaccomplished by parsing the identifying information and determining theproper prediction mode that is identified for predicting each predictionunit of video data. By applying the proper prediction on each of theprediction units of video data, the decoding unit is able tosuccessfully reconstruct the original video. The decoding unit is thusassigned the task of reconstructing the digital video signal into adisplayable representation of the original video signal. According tothe intra prediction mode for decoding a prediction unit, previouslyreconstructed samples from previously reconstructed prediction unitswill be referenced to reconstruct samples of a current prediction unitthat is currently being processed by the decoding unit.

Of the many available intra prediction modes for predicting a predictionunit of digital video data, the present invention is concerned with theintra planar prediction mode. The intra planar mode prediction isgenerally known to first predict a single sample within a currentprediction unit by referencing neighboring blocks that have beenpreviously reconstructed. Then after predicting the first sample withinthe current prediction unit, the remaining samples of the currentprediction unit are predicted by referencing the predicted first samplewithin the current prediction unit and reconstructed samples from theblocks that neighbor the current prediction unit.

SUMMARY OF THE INVENTION

It is an object of the present invention to offer a variety of newmethods for obtaining the prediction of a first sample within a currentprediction unit, where the current prediction unit is being predictedaccording to a new intra planar mode of the present invention.

It is also an object of the present invention to offer a variety ofmethods for predicting the remaining samples within the currentprediction unit once the first sample within the current prediction unithas been predicted and reconstructed. According to the presentinvention, these methods will predict the remaining samples within thecurrent prediction unit by referencing the first sample as well aspreviously reconstructed samples from blocks that neighbor the currentprediction unit.

It is to be understood that both the foregoing general description andthe following detailed description of the present invention areexemplary and explanatory and are intended to provide furtherexplanation of the present invention as claimed.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a first embodiment for obtaining the first sample ofa prediction unit according to the present invention;

FIG. 2 illustrates a second embodiment for obtaining the first sample ofa prediction unit according to the present invention;

FIG. 3 illustrates a third embodiment for obtaining the first sample ofa prediction unit according to the present invention;

FIG. 4 illustrates a fourth embodiment for obtaining the first sample ofa prediction unit according to the present invention;

FIG. 5 illustrates a first embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 6 illustrates a second embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 7 illustrates an enlarged view of a portion taken from FIG. 6 ;

FIG. 8 illustrates a third embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 9 illustrates an enlarged view of a portion taken from FIG. 8 ;

FIG. 10 illustrates a fourth embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 11 illustrates a fifth embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 12 illustrates a sixth embodiment for predicting the remainingsamples after a first sample has been predicted according to the presentinvention;

FIG. 13 illustrates a method for filtering certain reference samplesthat are determined to be important according to the present invention;

FIG. 14 illustrates an example for processing a first sample of aprediction unit according to the present invention;

FIG. 15 illustrates an example for determining the location for a firstsample of a prediction unit according to the present invention;

FIG. 16 illustrates another example for determining the location for afirst sample of a prediction unit according to the present invention;

FIG. 17 illustrates an example for determining the location for a firstsample of a prediction unit according to the present invention;

FIG. 18 illustrates a method for processing a prediction unit afterhaving received a first sample of the prediction unit according to thepresent invention;

FIG. 19 illustrates the relationship between a prediction unit andblocks of video data that neighbor the prediction unit according to thepresent invention;

FIG. 20 illustrates a decoding unit according to the present invention,and

FIG. 21 illustrates a close up view of the prediction units that arepart of the decoding unit illustrated in FIG. 20 .

DETAILED DESCRIPTION

Reference will now be made in detail to the preferred embodiments of thepresent invention, examples of which are illustrated in the accompanyingdrawings. Terminologies or words used in this specification and claimsare not construed as limited to the general or dictionary meanings andshould be construed as the meanings and concepts matching the technicalidea of the present invention based on the principle that an inventor isable to appropriately define the concepts of the terminologies todescribe the inventor's invention in an intended way. The embodimentsdisclosed in this disclosure and configurations shown in theaccompanying drawings are exemplary in nature and are not intended to beinclusive in nature. The preferred embodiments do not represent allpossible technical variations of the present invention. Therefore, it isunderstood that the present invention covers the modifications andvariations of this invention provided they come within the scope of theappended claims and their equivalents at the timing point of filing thisapplication.

It is noted that for the purposes of the detailed explanation thatfollows, all mention of a neighboring block is understood to be inreference to a block that neighbors a current prediction unit. A currentprediction unit is understood to include the current prediction samplesthat are being prediction processed according to the new intra planarmodes of the present invention. Distance H refers to a height, insamples, of the current prediction unit, and W refers to a width, insamples, of the current prediction unit. Also any gray areas areillustrated to represented previously reconstructed samples.Reconstructed samples have been predicted and combined with a residualvalue that is included in a video signal, and such reconstructed samplesmay be referenced for predicting samples according to the presentinvention. Predicted samples have not yet been combined with a residualvalue to be reconstructed, but have been prediction processed and mayalso be referenced for predicting samples according to this presentinvention. And any use of the term “samples” is understood to beinterchangeable with the commonly known term of “pixels”.

FIG. 1 illustrates a first embodiment for predicting a first currentprediction sample RB from within a current prediction unit 101 forreferencing in the new intra planar mode prediction method according tothe present invention. The current prediction unit 101 is seen to have aneighboring left block 102 located adjacent and to the left of thecurrent prediction unit 101. And the current prediction unit 101 is seento have a neighboring top block 103 located adjacent and to the top ofthe current prediction block 101. Both the neighboring left block 102and neighboring top block 103 are depicted as gray areas to indicatethat they consist of previously reconstructed samples. Although only thefirst current prediction sample RB is specifically illustrated, thecurrent prediction unit 101 also additionally contains a plurality ofcurrent prediction samples that need to be predicted and eventuallyreconstructed. Also, the first current prediction sample RB will be thesample located at the right-bottom of current prediction unit 101.

According to the first embodiment for predicting the first currentprediction sample RB from within the current prediction unit 101, thefirst current prediction sample RB will be predicted based on an intraDC mode prediction. The intra DC mode prediction will reference thesample value for sample T and the sample value for sample L anddetermine an average value of these two sample values. The referencesample T is referenced from the neighboring top block 103, and thereference sample L is referenced from the neighboring left block 102.Then according to the intra DC mode prediction, the average sample valuefor reference samples T and L will serve as the prediction value for thefirst current prediction sample RB. Now with this intra DC modeprediction value, the predicted value for RB can be referenced topredict the remaining samples of the current prediction unit 101.Although FIG. 1 specifically identifies the positions for referencesamples L and T, it is within the scope of the present invention forreference sample L to be referenced from any one of the samples from theneighboring left block 102, and it is within the scope of the presentinvention for reference sample T to be referenced from any one of thesamples from the neighboring top block 103.

FIG. 2 illustrates a second embodiment for predicting a first currentprediction sample RB from within a current prediction unit 201 forreferencing in the new intra planar mode prediction method according tothe present invention. According to this second embodiment, the firstcurrent prediction sample RB will be predicted based on an average of apreviously reconstructed reference sample 2H and a previouslyreconstructed reference sample 2W. The reference sample 2H may be takenfrom either a neighboring left block or a neighboring bottom-left block,depending on the size of the neighboring blocks to the left of thecurrent prediction unit 201. The reference sample 2W may be taken fromeither a neighboring top block or a neighboring top-right block,depending on the size of the neighboring blocks to the top of thecurrent prediction unit 201. This average sample value for referencesamples 2H and 2W will serve as the prediction value for the firstcurrent prediction sample RB according to this second embodiment. Now byreferencing this prediction for first current prediction sample RB, theremaining samples of the current prediction unit 201 may be predicted.In the case where the reference sample 2H is not available, a referencesample located at distance H within the neighboring left block may bereferenced instead of the reference sample 2H for purposes of thissecond embodiment. In the case where reference sample 2W is notavailable, a reference sample located at distance W within theneighboring top block may be referenced instead of the reference sample2W for purposes of this second embodiment.

FIG. 3 illustrates a third embodiment for predicting a first currentprediction sample RB from within a current prediction unit 301 forreferencing in the new intra planar mode prediction method according tothe present invention. According to this third embodiment, an average offour previously reconstructed reference samples from neighboring blockswill be referenced to predict the first current prediction sample RB.Specifically, reference sample T and reference sample 2T will bereferenced to obtain the averaged sample value of T′. While referencesample T is referenced from a neighboring top block, reference sample 2Tmay be referenced from the same neighboring top block or a separateneighboring top-right block depending on the size of the neighboring topblock. Similarly, reference samples L and 2L will be referenced toobtain the averaged sample value of L′. While reference sample L isobtained from a neighboring left block, reference sample 2L may bereferenced from the same neighboring left block or a separatebottom-left neighboring block depending on the size of the neighboringleft block. Then, the prediction for the first current prediction sampleRB will be the average of T′ and L′ according to this third embodiment.Now by referencing this prediction for first current prediction sampleRB, the remaining samples of the current prediction unit 301 may bepredicted.

In FIG. 3 the function for determining the average of two referencesamples is denoted in terms of a shift function. For example the averageof reference samples L and 2L is denoted by:L′=(L+2L+1)>>1According to the above shift function, a value of 1 is added to the sumof reference samples L and 2L in order to account for potential roundingerrors, however it is within the scope of the present invention to forgothe plus 1. And the double arrow shift function, >>, represents takingthe average of the sum by dividing the sum by two. The remainingcalculations for the average sample values for RB and T′ illustrated inFIG. 3 that utilize the shift function may be understood to operate in alike manner.

FIG. 4 illustrates a fourth embodiment for predicting a first currentprediction sample RB from within a current prediction unit 401 forreferencing in the new intra planar mode prediction method according tothe present invention. According to this fourth embodiment, theprediction value for the first prediction sample RB is obtained byreferencing two reference samples from neighboring blocks. Specifically,a first reference sample T′ is referenced from a neighboring block thatmay either be a neighboring top block or neighboring top-right block,depending on the size of the neighboring top block. The distinguishingfeature of the first reference sample T′ is that it is referenced frombetween previously reconstructed samples T and 2T. A second referencesample L′ is referenced from a neighboring block that may either be aneighboring left block or neighboring bottom-left block, depending onthe size of the neighboring left block. The distinguishing feature ofthe second reference sample L′ is that it is referenced from a locationbetween previously reconstructed samples L and 2L. The prediction valuefor the first current prediction sample RB is then obtained from theaverage of reference samples T′ and L′. This is denoted by the shiftfunction in FIG. 4 as:RB=(T′+L′+1)>>1According to the above shift function, a value of 1 is added to the sumof reference samples T′ and L′ in order to account for potentialrounding errors, however it is within the scope of the present inventionto forgo the plus one. And the double arrow shift function, >>,represents taking the average of the sum by dividing the sum by two.

After obtaining the prediction value for the first current predictionsample RB by averaging the values for reference samples T′ and L′, thefirst current prediction sample RB may be referenced for predicting theremaining samples within the current prediction unit 401 according tothe new intra planar mode prediction of the present invention.

FIG. 5 illustrates a first embodiment for predicting the remainingsamples within a current prediction unit 501 after first obtaining theprediction of the first current prediction sample RB. Once the firstcurrent prediction sample RB has been predicted according to any of themethods described for the present invention, sample L from theneighboring left block 502 and sample RB from within the currentprediction unit 501 will be referenced to perform a linearinterpolation. The result from the linear interpolation of referencesample L and reference sample RB is referred to as LI1 in FIG. 5 . Theresulting prediction value, LI1, from the linear interpolation ofreference samples L and RB will then be filled in horizontally as theprediction value for all the current prediction samples that run alongthe bottom row of current prediction unit 501. These samples that runalong the bottom row of current prediction unit 501 may now bereferenced for predicting the remaining samples within currentprediction unit 501.

Similarly, sample T from the neighboring top block 503 and sample RBfrom within the current prediction unit 501 will be referenced toperform a linear interpolation. The resulting prediction value from thelinear interpolation of reference sample T and reference sample RB isrepresented in FIG. 5 as LI2. The resulting prediction value, LI2, fromthe linear interpolation of reference samples T and RB will then befilled in as the prediction value for all the current prediction samplesthat run vertically along the right-most column of current predictionunit 501. These samples that run vertically along the right-most columnof current prediction unit 501 may now be referenced for predicting theremaining samples within current prediction unit 501.

Staying with FIG. 5 , the remaining samples within current predictionunit 501 that have not been predicted are predicted by a bi-linearinterpolation of four reference samples taken from among previouslyreconstructed samples from the left neighboring block 502, topneighboring block 503 and from within the current prediction unit 501.For exemplary purposes, FIG. 5 depicts the prediction processing forcurrent prediction sample C. Thus according to this first embodiment,the prediction for current prediction sample C will be the bi-linearinterpolation of reference samples L_(y), LI2, T_(x) and LI1. It can beseen that reference sample L_(y) is the previously reconstructed samplefrom the neighboring left block 502 that is adjacent to the currentprediction unit 501 and also shares the same y-coordinate as the currentprediction sample C. Reference sample LI2 is the predicted sample fromwithin the current prediction unit 501 that was predicted by the linearinterpolation of reference samples L and RB. It can also be seen thatreference sample T_(x) is the previously reconstructed sample from theneighboring top block 503 that is adjacent to the current predictionunit 501 and also shares the same x-coordinate as the current predictionsample C. Reference sample LI1 is the predicted sample from within thecurrent prediction unit 501 what was predicted by the linearinterpolation of reference samples L and RB. The bi-linear interpolationof L_(y), LI2, T_(x) and LI1 will be processed simultaneously in orderto obtain the prediction value for the current prediction sample C. Theremaining current prediction samples within the current prediction unit501 will be predicted according to this first embodiment in a likemanner as current prediction sample C.

As an alternative, the bi-linear interpolation of current predictionsample C can also be processed by averaging two separate linearinterpolations. According to this alternative, the linear interpolationof reference samples L_(y) and LI2 will be processed separately from thelinear interpolation of reference samples T_(x) and LI1, and then theprediction for the current prediction sample C will be based on theaverage of these two linear interpolations. The remaining currentprediction samples will be predicted according to this alternative ofthe first embodiment in a like manner as current prediction sample C.

FIG. 6 illustrates a second embodiment for predicting the remainingsamples within a current prediction unit 601 after first obtaining theprediction of the first current prediction sample RB. In FIG. 6 , it isseen that the first current prediction RB is predicted by taking theaverage of reference sample 2L and reference sample 2T. After havingpredicted the first current prediction sample RB, the remaining currentprediction samples along the bottom row of the current prediction unit601 are copied from the neighboring block as depicted in FIG. 6 . Thereference samples referenced to copy the bottom row of the currentprediction unit 601 may come from either a neighboring left block orneighboring bottom-left block in relation to the current prediction unit601, depending on the size of the neighboring left block. Similarly, theremaining current prediction samples along the right-most verticalcolumn of the current prediction unit 601 are copied from theneighboring block as depicted in FIG. 6 . The reference samplesreferenced to copy the rightmost vertical column in the currentprediction unit 601 may come from either a neighboring top block orneighboring top-right block, depending on the size of the neighboringtop block.

FIG. 7 is a close up view of the current prediction unit 601 seen inFIG. 6 . After predicting the samples along the bottom row andright-most vertical column of the current prediction unit 601 by copyingthe samples from the neighboring blocks as seen in FIG. 6 , theremaining samples within current prediction unit 601 are predictedaccording to a bi-linear interpolation. The bi-linear interpolation isprocessed by referencing four samples taken from among the leftneighboring block 602, top neighboring block 603 and from within thecurrent prediction unit 601. For exemplary purposes, FIG. 7 depicts theprediction processing for current prediction sample C. Thus according tothis second embodiment, the prediction for current prediction sample Cwill be the bi-linear interpolation of reference samples L_(y), R_(C),T_(x) and B_(C). Reference sample L_(y) is a sample from the neighboringleft block 602 that is adjacent to the current prediction unit 601 andis also on the same y-coordinate line as the current prediction sampleC. Reference sample R_(C) is a sample from within the current predictionsample 601 that has been predicted by copying a reference sample from aneighboring block as explained with reference to FIG. 6 above, and isalso on the same y-coordinate line as the current prediction sample C.Reference sample T_(x) is a sample from the neighboring top block 603that is adjacent to the current prediction unit 601 and is also on thesame x-coordinate line as the current prediction sample C. Referencesample B_(C) is a sample from within the current prediction sample 501that has been predicted by copying a reference sample from a neighboringblock as explained in reference to FIG. 6 above, and is also on the samex-coordinate line as the current prediction sample C. The bi-linearinterpolation of L_(y), R_(c), T_(x) and B_(c) will be processedsimultaneously in order to obtain the prediction value for the currentprediction sample C. The remaining current prediction samples will bepredicted according to this second embodiment in a like manner ascurrent prediction sample C.

As an alternative, the bi-linear interpolation of current predictionsample C can also be processed by averaging two separate linearinterpolations. According to this alternative, the linear interpolationof reference samples L_(y) and R_(c) will be processed separately fromthe linear interpolation of reference samples T_(x) and B_(c), and thenthe prediction for the current prediction sample C will be based on theaverage of these two linear interpolations. The remaining currentprediction samples will be predicted according to this alternative ofthe second embodiment in a like manner.

FIG. 8 illustrates a third embodiment for predicting the remainingsamples within a current prediction unit 801 after first obtaining theprediction of the first current prediction sample RB. After havingpredicted the first current prediction sample RB according to any one ofthe previously mentioned embodiments above, the remaining currentprediction samples that belong to the bottom row of the currentprediction unit 801 are filled by utilizing a linear interpolation oftwo reference samples referenced from two neighboring blocks. Forexemplary purposes, the instance for predicting current predictionsample B₅ will be described as an exemplary instance for predicting thesamples along the bottom row of the current prediction unit 801. It canbe seen from FIG. 8 that the two reference samples referenced to predictcurrent prediction sample B₅ lie along a common angular line and alsocome from two separate neighboring blocks. The first reference sample,as indicated by the arrow α, is referenced from either a neighboringleft block or neighboring bottom-left block, depending on the size ofthe neighboring left block. The second reference sample, as indicated bythe arrow 1−α, is referenced from either a neighboring top block orneighboring top-right block, depending on the size of the neighboringtop block. Thus the first reference sample and the second referencesample will be linearly interpolated to obtain a prediction value forcurrent prediction sample B₅. The remaining current prediction samplesalong the bottom row of the current prediction unit 801 will bepredicted in a similar manner by referencing two separate referencesamples that lay along a corresponding angular line. Predicted currentprediction samples may then be referenced when predicting the remainingsamples within the current prediction unit 801.

Also depicted in FIG. 8 is the prediction method for the right-mostvertical column of samples within the current prediction unit 801according to this third embodiment. For exemplary purposes, the instanceof predicting current prediction sample R₂ will be described as anexemplary instance for predicting the samples along the rightmostvertical column of the current prediction unit 801. It can be seen fromFIG. 8 that the two reference samples referenced to predict currentprediction sample R₂ lie along a common angular line and also come fromtwo separate neighboring blocks. The first reference sample, asindicated by the arrow α, is referenced from either a neighboring leftblock or neighboring bottom-left block, depending on the size of theleft block. The second reference sample, as indicated by the arrow 1−α,is referenced from either a neighboring top block or neighboringtop-right block, depending on the size of the top block. Thus the firstreference sample and the second reference sample will be linearlyinterpolated to obtain a prediction value for current prediction sampleR₂. The remaining samples along the right-most vertical column of thecurrent prediction unit 801 will be predicted in a similar manner byreferencing two separate reference samples that lay along acorresponding angular line. Predicted current prediction samples maythen be referenced when predicting the remaining samples within thecurrent prediction unit 801.

FIG. 9 is a close up view of the current prediction unit 801 seen inFIG. 8 where the samples along the bottom row and the samples along theright-most vertical column have been predicted. The remaining sampleswithin current prediction unit 801 that have not been predicted arepredicted by a bi-linear interpolation of four reference samples takenfrom among previously reconstructed samples from the left neighboringblock 802, top neighboring block 803 and from within the currentprediction unit 801. For exemplary purposes, FIG. 9 depicts the instancefor prediction processing of the current prediction sample C. Thusaccording to this third embodiment, the prediction for currentprediction sample C will be the bi-linear interpolation of referencesamples L_(y), R_(C), T_(x) and B_(C). Reference sample L_(y) is asample from the neighboring left block 802 that is adjacent to thecurrent prediction unit 801 and is also on the same y-coordinate line asthe current prediction sample C. Reference sample R_(C) is a sample fromwithin the current prediction sample 801 that has been predicted basedon the linear interpolation of two samples from neighboring blocks thatlay along a common angular line as explained with reference to FIG. 8above, and is also on the same y-coordinate line as the currentprediction sample C. Reference sample T_(x) is a sample from theneighboring top block 803 that is adjacent to the current predictionunit 801 and is also on the same x-coordinate line as the currentprediction sample C. Reference sample B_(C) is a sample from within thecurrent prediction sample 801 that has been predicted by the linearinterpolation of two samples from neighboring blocks that lay along acommon angular line as explained in reference to FIG. 8 above, and isalso on the same x-coordinate line as the current prediction sample C.The bi-linear interpolation of L_(y), R_(c), T_(x) and B_(c) will thenbe processed simultaneously in order to obtain the prediction value forthe current prediction sample C. The remaining current predictionsamples will be predicted according to this third embodiment in a likemanner as current prediction sample C.

As an alternative, the bi-linear interpolation of current predictionsample C can also be processed by separately taking the linearinterpolation of reference samples L_(y) and R_(C) and taking the linearinterpolation of reference samples T_(x) and B_(C), and then taking theaverage of these two linear interpolations. The remaining currentprediction samples will be predicted according this alternative to thethird embodiment in a like manner.

FIG. 10 illustrates a fourth embodiment for predicting the remainingsamples within a current prediction unit 1001 after first obtaining theprediction of the first current prediction sample RB. After havingpredicted the first current prediction sample RB according to any one ofthe previously mentioned embodiments above, all remaining currentprediction samples that belong to the current prediction unit 1001 arefilled/predicted by utilizing a bi-linear interpolation of fourreference samples referenced from neighboring blocks. Therefore there isno need to separately calculate a prediction for the current predictionsamples that lay along the bottom row of the current prediction unit1001 and the current prediction samples that lay along the rightmostvertical column of current prediction unit 1001. For exemplary purposes,FIG. 10 depicts the prediction processing for current prediction sampleC according to this fourth embodiment.

In order to process the prediction for the current prediction sample C,a bi-linear interpolation of four reference samples will be made: L_(y),2T, T_(x), and 2L. Reference sample L_(y) is a sample from a neighboringleft block that is adjacent to the current prediction unit 1001 and isalso on the same y-coordinate line as the current prediction sample C.Reference sample 2T is simply a copy of the previously reconstructedreference sample 2T taken from either a neighboring top block orneighboring top-right block. Reference sample T_(x) is a sample from aneighboring top block that is adjacent to the current prediction unit1001 and is also on the same x-coordinate line as the current predictionsample C. Reference sample 2L is simply a copy of the previouslyreconstructed reference sample 2L taken from either a neighboring leftblock or neighboring bottom-left block. The bi-linear interpolation ofL_(y), 2T, T_(x), and 2L will then be processed simultaneously in orderto obtain the prediction value for the current prediction sample C. Theremaining current prediction samples will be predicted according to thisfourth embodiment in a like manner as current prediction sample C.

It is noted that according to this fourth embodiment, reference samples2L and 2T will remain constant for each bi-linear interpolation made forpredicting a current prediction sample within the current predictionunit 1001. However, the reference samples L_(y) and T_(x) will vary tocorrespond to the x and y coordinates of the current prediction samplebeing predicted.

As a first alternative of this fourth embodiment, the bi-linearinterpolation can also be processed as the average of two separatelinear interpolations. According to this first alternative, the firstlinear interpolation is taken by referencing samples L_(y) and 2T. Andthe second linear interpolation is taken by referencing samples T_(x)and 2L. Then prediction for current prediction sample C will be theresulting average from the first linear interpolation of samples L_(y)and 2T and the second linear interpolation of samples T_(x) and 2L. Theremaining current prediction samples may be predicted according to thisalternative of the fourth embodiment in a like manner.

In a second alternative to this fourth embodiment, after predicting thefirst current prediction sample RB and prior to predicting the currentprediction sample C, the current prediction samples that lay in thebottom row of the current prediction unit 1001 may be padded with copiesof 2L. And similarly, the current prediction samples that lay in theright-most column of the current prediction unit 1001 may be padded withcopies of 2T.

FIG. 11 illustrates a fifth embodiment for predicting the remainingsamples within a current prediction unit 1101 after first obtaining theprediction of the first current prediction sample RB. After havingpredicted the first current prediction sample RB according to any one ofthe methods of the present invention, all remaining current predictionsamples within the current prediction unit 1101 are predicted byaveraging a first linear interpolation of two previously reconstructedreference samples and a second linear interpolation of two previouslyreconstructed reference samples from neighboring blocks.

In FIG. 11 , the first linear interpolation is made by referencingpreviously reconstructed reference sample L_(y) that is referenced froma neighboring left block that is at the same y-coordinate as the currentprediction sample C, and referencing sample T which is a copy of thepreviously reconstructed sample T from a neighboring top block that isadjacent to the top-right sample from the current prediction unit 1101.The second linear interpolation is made by referencing previouslyreconstructed sample T_(x) from a neighboring top block that is at thesame x-coordinate as the current prediction sample C, and referencingsample L which is a copy of the previously reconstructed sample L from aneighboring left block that is adjacent to the bottom-left sample of thecurrent prediction unit 1101.

The first linear interpolation is added to the second linearinterpolation and then averaged to obtain the prediction for the currentprediction sample C. The averaging function is graphically representedby the shift-right function, >>, in FIG. 11 . The prediction for currentprediction sample C is then the average of the first linearinterpolation and the second linear interpolation. The remaining sampleswill be predicted in a similar manner. The first linear interpolationwill always reference the copied sample T from the neighboring topblock, and then variably reference a previously reconstructed sampleL_(y) from the neighboring left block that has the same y-coordinate asthe current prediction sample C. And the second linear interpolationwill always reference the copied sample L from the neighboring leftblock, and then variably reference a previously reconstructed sampleT_(X) from the neighboring top block that has the same x-coordinate asthe current prediction sample C.

In an alternative of this fifth embodiment, after predicting the firstcurrent prediction sample RB and prior to predicting the currentprediction sample C, the current prediction samples that lay in thebottom row of the current prediction unit 1101 may be padded with copiesof reference sample L. And similarly, the current prediction samplesthat lay in the rightmost column of the current prediction unit 1101 maybe padded with copies of reference sample T.

FIG. 12 illustrates a sixth embodiment for predicting the remainingsamples within a current prediction unit 1201 after first obtaining theprediction of the first current prediction sample RB. After havingpredicted the first current prediction sample RB according to any one ofthe methods of the present invention, all remaining current predictionsamples within the current prediction unit 1201 will be predicted basedon a combination of two weighted linear interpolations.

In FIG. 12 , the first linear interpolation is processed by referencingpreviously reconstructed reference sample L_(y) referenced from aneighboring left block that is at the same y-coordinate as the currentprediction sample C, and referencing reference sample T which is a copyof the previously reconstructed sample T from a neighboring top blockthat is adjacent to the top-right sample of the current prediction unit1201. The second linear interpolation is processed by referencingpreviously reconstructed sample T_(x) from a neighboring top block thatis at the same x-coordinate as the current prediction sample C, andreference sample L which is a copy of the previously reconstructedsample L from a neighboring left block that is adjacent to thebottom-left sample of the current prediction unit 1201.

Now each of the first linear interpolation and second linearinterpolation will be assigned their own weighting values. FIG. 12illustrates that the first linear interpolation will be weighted by thefirst weighting value W_(H), and the second linear interpolation will beweighted by the second weighting value W_(V). Therefore, the predictionfor the current prediction sample C, P_(c), will be the sum:P _(c) =W _(H)×(First Linear Interpolation)+W _(V)×(Second LinearInterpolation)Assuming that the current prediction sample C has the coordinates (x,y)within the current prediction unit 1201, then the prediction for thecurrent prediction sample C, P_(C)(x,y), will follow the equation below:

${{Pc}\left( {x,y} \right)} = {{\frac{y + 1}{x + y + 2}\left( {{First}\mspace{14mu}{Linear}\mspace{14mu}{Interpolation}} \right)} + {\frac{x + 1}{x + y + 2}\left( {{Second}\mspace{14mu}{Linear}\mspace{14mu}{Interpolation}} \right)}}$

According to the above equation, the value for W_(H) that will beapplied to the First Linear Interpolation is,

$\frac{y + 1}{x + y + 2}.$

And the value for W_(V) that will be applied to the Second LinearInterpolation is

$\frac{x + 1}{x + y + 2}.$

In an alternative of this sixth embodiment, after predicting the firstcurrent prediction sample RB and prior to predicting the currentprediction sample C, the current prediction samples that lay in thebottom row of the current prediction unit 1201 may be padded with copiesof reference sample L. And similarly, the remaining current predictionsamples that lay in the right-most column of the current prediction unit1201 may be padded with copies of reference sample T.

FIG. 13 illustrates a new method for filtering certain samples thatneighbor a current prediction unit, where the samples selected forfiltering may be referenced when processing the new intra planar modepredictions according to the present invention. Typically theneighboring sample T that is adjacent to the top-right sample of thecurrent prediction unit 1301 will be one of the samples to beprominently referenced during the new intra planar mode prediction.Also, typically the neighboring sample L that is adjacent to thebottom-right sample of the current prediction unit 1301 will be theother reference sample to be prominently referenced during the new intraplanar mode prediction. Therefore, there is a desire to prioritize thetwo reference samples T and L. So as a method for prioritizing thereference samples T and L, the present invention offers the solution ofprocessing reference samples T and L through a filtering process inorder to increase the smoothness of the resulting predicted sampleswithin the current prediction unit 1301, as well as increasing theefficiency of the overall video signal compression.

Accordingly, FIG. 13 is a graphical illustration of processing thereference samples T and L through a 1:2:1 filtering process. Toaccomplish the filtering process according to the present invention,previously reconstructed samples that are adjacent to the referencesamples T and L will also be utilized. For example, sample T⁻¹ that isadjacent to the left of reference sample T, and T₊₁ that is adjacent tothe right of reference sample T are highlighted in FIG. 13 . Also,sample L⁻¹ that is adjacent to the top of reference sample L, and L₊₁that is adjacent to the bottom of reference sample L are highlighted inFIG. 13 . The reference samples that result from the filtering processof reference samples T and L will be referred to as T′ and L′respectively. It is then these filtered samples T′ and L′ that willactually be referenced when predicting the samples within the currentprediction unit 1301 according to the new intra planar modes of thepresent invention.

The 1:2:1 filtering process applied to reference sample T is processedaccording to the following equation:

${T'} = \frac{\left( {1 \times T_{- 1}} \right) + \left( {2 \times T} \right) + \left( {1 \times T_{+ 1}} \right) + 2}{4}$Because at the most basic level of digital data, the actual sample valueis represented by a string of binary bits, the above equation may bewritten in terms of shift functions in the binary bits that representthe value for the reference sample T. This equation that is written interms of shift functions may be written as the following:T′={T ⁻¹+(T<<1)+T ₊₁+2}>>2Referring to the above equation written in terms of the shift functions,the (<<1) left-shift represents a single shift to the left, which ismathematically understood to be equivalent to doubling or multiplying bytwo. The (>>2) right-shift represents two shifts to the right, which ismathematically understood to be equivalent to dividing by four.

Similarly, the 1:2:1 filtering process applied to reference sample L isprocessed according to the following equation:

${L'} = \frac{\left( {1 \times L_{- 1}} \right) + \left( {2 \times L} \right) + \left( {1 \times L_{+ 1}} \right) + 2}{4}$This equation may also be represented in terms of the shift functions bythe following:L′={L ⁻¹+(L<<1)+L ₊₁+2}>>2After processing the filtering for the reference samples L and T, thenew filtered values L′ and T′ will replace the original referencesamples L and T. By doing so, the new filtered reference samples L′ andT′ may be referenced when processing the new intra planar modeprediction on the current prediction unit 1301.

If, however, one of the samples that are adjacent to the referencesamples T and L are not available, then the value for the referencesample will need to be weighted to a greater degree. For example ifsample T₊₁ that is adjacent to the right of reference sample T is notavailable, reference sample T may undergo a 1:3 filtering process thatmay be processed according to the following equation:

${T'} = \frac{\left( {1 \times T_{- 1}} \right) + \left( {3 \times T} \right) + 2}{4}$It is evident from the revised filtering equation that the value forreference sample T is weighted three times, as opposed to the originaltwo times, in order to compensate for the sample T₊₁ that is notavailable. This new filtering process in terms of the shift function maybe written as follows:T′={T ⁻¹+(T<<1)+T+2}>>2

Similarly, if the sample T⁻¹ that is adjacent to the left of referencesample T is not available, then reference sample T may undergo a 3:1filtering process that may be processed according to the followingequation:

${T'} = \frac{\left( {3 \times T} \right) + \left( {1 \times T_{+ 1}} \right) + 2}{4}$This new filtering process in terms of the shift function may be writtenas follows:T′={(T<<1)+T+T ₊₁+2}>>2

The same type of compensation filtering processing may be applied forfiltering reference sample L when either one of the adjacent samples L₊₁or L⁻¹ are not available.

Referencing the new filtered reference samples L′ and T′ will result insmoother predictions for samples within the current prediction unit1301, as well as increase the compression efficiency for the digitalvideo signal.

All of the embodiments described thus far have called for thebottom-right sample within a current prediction unit to be the firstprediction sample to be predicted after it has been received by adecoding unit. However, according to an alternative aspect of thepresent invention, an encoding unit that initially encodes an originalvideo signal into the prediction units of video data may keep one of thesamples within a prediction unit that is predicted according to the newintra planar mode of the present invention, in a reconstructed state. Bythen transmitting the first prediction sample in a reconstructed state,this frees the decoding unit from the task of performing a prediction toobtain this first prediction sample for referencing during the new intraplanar mode prediction. This first prediction sample has been describedabove to be necessary for the interpolation processing required for thenew intra planar mode predictions according to the present invention.

In addition, this alternative aspect of the present invention alsoallows for this first prediction value that is transmitted as areconstructed sample, to be located at any point within the predictionunit. While previous examples have always envisioned this firstprediction sample within the prediction unit to be located at thebottom-right corner of the prediction unit, this alternative aspect ofthe present invention allows for this first prediction sample to belocated at any location.

For exemplary purposes, FIG. 14 illustrates the first current predictionsample C being shaded gray to indicate it has been received by adecoding unit in the reconstructed state. Also, the samples from theneighboring left block 1402 and neighboring top block have been shadedgray to indicate that they have been previously reconstructed by thedecoding unit. The first current prediction sample C transmitted in thereconstructed state may also be accompanied by coordinate informationindicating the location of the first current prediction sample C withinthe current prediction unit 1401. If the coordinates of the firstcurrent prediction sample C that is transmitted in the reconstructedstate is not included in the video signal as part of identifyinginformation, then the decoding unit has a variety of options fordetermining the coordinates.

Typically, at the encoding unit side where the original video signal isencoded into the prediction units, if information identifying thelocation of the first prediction sample to be transmitted in areconstructed state is not included with the transmitted video signal,then the encoding unit will coincide the location of the firstprediction sample to run along the edges of neighboring blocks. This isa desirable practice because there are a variety of methods for adecoding unit that receives the prediction units to detect these edges.This practice can be seen from the illustration in FIG. 15 where theencoding unit will select a location for the first prediction sample Cto coincide with the edges 1504 and 1505. The edges are essentially theedges of the neighboring blocks that are adjacent to the prediction unit1501. So edge 1504 is the edge of neighboring left block 1502, and theedge 1505 is the edge from neighboring top block 1503. These edges areformed due to the partition of neighboring blocks into sizes that aresmaller than the prediction unit 1501. So if the encoding unit does notexpressly transmit information identifying the location for theprediction sample C that is transmitted in a reconstructed state withinthe video signal, the encoding unit must select a location within theprediction unit that may be easily identifiable by the decoding unit.The edges of neighboring blocks offer such a marking point that may beeasily identifiable by the receiving decoding unit. So the encoding unitwill base the coordinates of the first prediction sample to correspondto these neighboring edges because each edge point where one block endsand the next block starts can be easily detected by the decoding unitthat receives the video signal including the prediction unit 1501.

FIG. 16 illustrates one method of how a decoding unit may detect anedge. The method illustrated in FIG. 16 is able to locate an edgeposition by finding the point at which two adjacent previouslyreconstructed samples have the greatest difference in sample value. Eachreconstructed sample will have its own corresponding sample value. Thenbecause each neighboring block can be assumed to have been uniquelypredicted and reconstructed, it can be assumed that while reconstructedsamples within a same block will share similar sample values, samplesbelonging to separate blocks will not share similar sample values.Therefore it reasons that at the edge point where the end of one blockbecomes the start of the next adjacent block, comparing the two adjacentsamples where one sample belongs to a first block and the second samplebelongs to a second block will result in the greatest difference insample values. So in FIG. 16 , the decoding unit may calculate thedifferentials for all adjacent samples that make up the row of samplesthat line up immediately to the top of the current prediction unit 1601.Then, when the decoding unit finds the greatest differential in samplevalues between two adjacent samples, this can be considered the point atwhich there is an edge between two adjacent blocks. And correspondingly,this is the point where the decoding unit may consider being thex-coordinate for the first prediction sample C that is received in areconstructed state. Similarly, the decoding unit will calculate thedifferentials for all adjacent samples that make up the column ofsamples that line up immediately to the left of the current predictionunit 1601. Then, where the decoding unit finds the greatest differentialin sample values between two adjacent samples, this can be consideredthe point at which there is an edge between two adjacent blocks. Andcorrespondingly, this is the point where the decoding unit may considerbeing the y-coordinate for the first prediction sample C that isreceived in a reconstructed state.

Another method for determining the coordinates of a first predictionsample that is transmitted by in a reconstructed state, is for adecoding unit receiving the prediction unit to parse partitioninformation for neighboring blocks. Typically, a video signal that isencoded by the encoding unit will be comprised of video data andidentifying information. The prediction unit may be considered to bepart of the video data, and the partition information may be consideredto be part of the identifying information. The partition informationidentifies how each block of video data is partitioned into smallerblocks of video data. For instance a tree block of data may bepartitioned into a plurality of coding blocks, then each coding blockmay be partitioned into a plurality of prediction blocks/units, theneach prediction block/unit may be partitioned into a plurality oftransform blocks/units, and so on. It is also within the scope of thepresent invention to partition video data into non-square areas ofsample data, in which case geometry block partition information may alsobe included as part of the identifying information.

In any case, such partition information is transmitted as part of theidentifying information along with the prediction units that comprisethe video data in the video signal. Thus upon receiving the video signalincluding the prediction units and partition information, the decodingunit will be able to parse the partition information to determine thepartition size of each prediction unit that neighbors a currentprediction unit. This is depicted in FIG. 17 .

In FIG. 17 , if a decoding unit receives current prediction unit 1701and is processing a prediction on current prediction unit 1701 accordingto the new intra planar mode of the present invention, the decoding unitwill have also received and parsed partition information pertaining tothe blocks that neighbor current prediction unit 1701. Thus thepartition information will identify the size of each partitioned blockof video data that neighbors to the top of the current prediction unit1701. And from this partition information, the decoding unit is able toidentify where the partition between neighboring top block NB1 and NB2occurs. And from this determination, the decoding unit can follow theresulting edge line to determine the x-coordinate for the first currentprediction sample C. Similarly, the partition information will identifythe size of each partitioned block of video data that neighbors to theleft of the current prediction unit 1701. And from this partitioninformation, the decoding unit is able to identify where the partitionbetween neighboring left blocks NB3 and NB4 occurs. Then by knowingwhere the partition between neighboring left block NB3 and NB4 occurs,the decoding unit can follow the resulting edge line to determine they-coordinate for the first current prediction sample C.

So when the location of the first prediction unit that is transmitted ina reconstructed state is selected to coincide with edge lines resultingfrom the partitioning of neighboring blocks, a decoding unit maysuccessfully identify these edge lines to determine the location for thefirst prediction unit that is transmitted in the reconstructed state.

Now after receiving the prediction unit containing the first predictionsample that is in a reconstructed state, and then determining thelocation of the first prediction sample, prediction for the remainingsamples within the prediction unit according to the new intra planarprediction modes of the present invention may be processed. So in FIG.18 , the first current prediction sample C is seen to have been receivedin a reconstructed state, and the location of the first currentprediction sample C has been determined to have the correspondingx-coordinate and y-coordinate. Now the block marked as 1 that is withinthe current prediction unit 1801, and is defined by having the firstcurrent prediction sample C as its bottom-right sample, is predicted byany one of the embodiments for the new intra planar mode of the presentinvention. After predicting the samples of block 1, then the remainingcurrent prediction samples that are within the current prediction unit1801 are marked as blocks 2, 3 and 4. These remaining samples may bepredicted by any one of the embodiments of the new intra planar mode ofthe present invention. This may be accomplished by first reconstructingthe bottom-right sample within each block 2, 3 and 4 and referencingthis bottom-right sample for predicting each individual block 2, 3 and 4separately. Or the remaining samples within blocks 2, 3 and 4 may bepredicted as a whole. In any case the remaining samples in block 2, 3and 4 may be predicted according to any one of the embodiments of thenew intra planar mode according to the present invention.

Or as an alternative, the remaining samples within blocks 2, 3 and 4 maybe predicted by copying the reconstructed samples within any of theneighboring blocks that have been previously reconstructed, for instanceblock 1.

Or as another alternative, the remaining blocks may be predicted byreferencing samples from a neighboring block that is determined to be adominant block. The dominant block will have sample characteristics thatare most similar to the current block that is being predictionprocessed. This is illustrated in FIG. 19 , where the current predictionblock 1901 is currently being predicted. For exemplary purposes, eachneighboring block is depicted as having various shades of gray, whereinthe darker shading indicates a higher dominance. The neighboringtop-left block is seen to have the highest dominance, and therefore theneighboring top-left block will be referenced to predict the currentprediction block 1901. By referencing the neighboring top-left block,the current prediction block may be predicted by simply copying thesamples from the neighboring top-left block or by referencing thesamples within the neighboring top-left block to perform predictionprocessing according to any of the available intra prediction modes.

In order to identify the most dominant neighboring block for the currentprediction block 1901, dominant block information will be included aspart of the identifying information that is transmitted as part of avideo signal by an encoding unit. Then when a decoding unit receives thevideo signal including the dominant block information and the currentprediction block 1901, the decoding unit will be able to parse thedominant block information to determine which neighboring block will bereferenced for predicting the current prediction block 1901.

FIG. 20 is a schematic block diagram of a video signal decoding unitthat may be used to perform the new intra planar mode predictionsaccording to the present invention.

Referring to FIG. 20 , the decoding unit according to the presentinvention includes an entropy decoding unit 2010, an inverse quantizingunit 2020, an inverse transforming unit 2025, a deblocking filteringunit 2030, a decoded/reconstructed picture storing unit 2040, an interprediction unit 2050 and an intra prediction unit 2060.

The entropy decoding unit 2010 extracts a transform coefficient of eachblock of video data, a motion vector, a reference picture index and thelike by performing entropy decoding on a video signal bitstream that isencoded by an encoding unit (not pictured). The inverse quantizing unit2020 inverse-quantizes the entropy decoded transform coefficient, andthe inverse transforming unit 2025 then restores an original samplevalue using the inverse-quantized transform coefficient. The deblockingfiltering unit 2030 is applied to each coded block of video data toreduce block distortion. A picture through filtering is stored in thedecoded picture storing unit 2040 to be outputted or used as a referencepicture. The inter predicting unit 2050 predicts a current picture usingthe reference picture stored in the decoded picture storing unit 2040and inter prediction information (e.g., reference picture index, motionvector, etc.) delivered from the entropy decoding unit 2010. Inparticular, motion vectors of blocks adjacent to a current block (ie.neighboring blocks) are extracted from a video signal. A predictedmotion vector of the current block may be obtained from the neighboringblock. The neighboring block may include a block located at a left, topor right top side of the current block. For instance, a predicted motionvector of a current block may be obtained using median value ofhorizontal and vertical components of motion vectors of neighboringblocks. Alternatively, in case that a left block of a current block hasat least one prediction block coded in an inter mode, a predicted motionvector of the current block may be obtained using a motion vector of aprediction block located at a top side of the current block. In casethat a top block of a current block has at least one prediction blockcoded in an inter mode, a predicted motion vector of the current blockmay be obtained using a motion vector of a prediction block located at amost left side. In case that blocks located at top and right sides of acurrent block among neighboring blocks are located outside a boundary ofa picture or slice, a predicted motion vector of the current block maybe set to a motion vector of a left block. If there exists one blockhaving the same reference picture index of a current block amongneighboring blocks, a motion vector of the block may be used for motionprediction.

The intra predicting unit 2060 performs intra prediction by referencingpreviously reconstructed samples from within a current picture. Thereconstructed sample within the current picture may include a sample towhich deblocking filtering is not applied. An original picture is thenreconstructed by adding the predicted current picture and a residualoutputted from the inverse transforming unit 2025 together. For eachprediction unit of video data, each current prediction sample of acurrent prediction unit will be processed according to the new intraplanar mode prediction of the present invention by the intra predictionunit 2060. Then the predicted current prediction samples will bereconstructed by combining the predicted samples with a residualoutputted from the inverse transforming unit 2025.

FIG. 21 is a block diagram of an alternative view of the decoding unitillustrated by FIG. 20 . Fig. additionally includes a block typedetermining unit 2100 and a reconstructing unit 2170. The block typedetermining unit 2100 determines whether a current prediction unit is aninter predicted type unit or an intra prediction type unit. If the blocktype determining unit determines that the current prediction unit is aninter prediction type unit then the current prediction unit will be sentalong to the inter prediction unit 2150. And if the block typedetermining unit determines that the current prediction unit is an intraprediction type unit, then the current prediction unit will be sentalong to the intra prediction unit 2160.

FIG. 21 also illustrates that the intra prediction unit 2160 iscomprised of a prediction size determining unit 2161 and a predictionmode obtaining unit 2162. The prediction size determining unit 2161 isable to determine the size of a current prediction unit that is beingpredicted by the intra prediction unit 2160 by either parsingidentifying information that is encoded into the video signal by anencoding unit and is received by the decoding unit, or by directlyprocessing the current prediction unit to determine its size. Soaccording to the first method, the encoding unit that encodes the videosignal and accompanying identifying information, will include sizeinformation for each prediction unit of video data that is encoded intothe video signal. Then the decoding unit need only parse the identifyinginformation from the video signal to determine the size for eachprediction unit it receives. According to the second method, theencoding unit does not expressly include size information for eachprediction unit of video data into the video signal. Instead, theprediction size determining unit 2161 of the decoding unit is taskedwith processing each prediction unit to determine the size of eachprediction unit. It should be noted that according to the first method,the actual parsing of the identifying information to determine the sizeof each prediction unit may be processed by either the prediction sizedetermining unit 2161 or the entropy decoding unit 2010 as seen in FIG.20 .

The prediction mode obtaining unit 2162 is tasked with parsingidentifying information that is included in a video signal to determinethe proper intra prediction mode to apply to each current predictionunit that is being predicted by the intra prediction unit 2160. Soaccording to the present invention, the prediction mode obtaining unit2162 will process signaling information from the identifying informationincluded in a video signal and determine from the signaling informationthat the new intra planar mode for prediction should be applied to acurrent prediction unit.

And once the current prediction unit is properly predicted by the intraprediction unit 2160 according to the proper intra prediction modeidentified by the prediction mode determining unit 2162, the predictedsamples of the current prediction unit will be reconstructed by thereconstructing unit 2170. The reconstructing unit 2170 is able toreconstruct the predicted samples by combining them with residual valuesobtained from the inverse transforming unit 2125.

While the present invention has been described and illustrated hereinwith reference to the preferred embodiments thereof, it will be apparentto those skilled in the art that various modifications and variationscan be made therein without departing from the spirit and scope of theinvention. Thus, it is intended that the present invention covers themodifications and variations of this invention that come within thescope of the appended claims and their equivalents.

The invention claimed is:
 1. A method for decoding a video signal by adecoding apparatus in intra planar prediction mode, the methodcomprising: predicting, by the decoding apparatus, a video data sampleincluded in a current block based on a bi-linear interpolation using afirst reference sample, a second reference sample, a third referencesample, and a fourth reference sample, the first reference sample beinga left neighboring sample of the current block and having a samey-coordinate as the video data sample, the second reference sample beingan upper neighboring sample of the current block and having a samex-coordinate as the video data sample, the third reference sample beinga reference sample taken from an upper-right neighboring block of thecurrent block and positioned in the same y-coordinate as the video datasample within a rightmost column of the current block for the bi-linearinterpolation, and the fourth reference sample being a reference sampletaken from a lower-left neighboring block of the current block andpositioned in the same x-coordinate as the video data sample within abottommost row of the current block for the bi-linear interpolation; andreconstructing, by the decoding apparatus, the video data sample basedon the predicted video data sample, wherein, a weighting factor appliedfor the third reference sample is determined based on the x-coordinateof the video data sample.
 2. The method of claim 1, wherein thebi-linear interpolation comprises: performing a first linearinterpolation using the first reference sample and the third referencesample, performing a second linear interpolation using the secondreference sample and the fourth reference sample, and obtaining thepredicted video data sample based on a result of the first linearinterpolation and a result of the second linear interpolation.
 3. Themethod of claim 2, wherein the predicted video data sample is obtainedby averaging the result of the first linear interpolation and the resultof the second linear interpolation.
 4. An apparatus configured to decodea video signal in intra planar prediction mode, the apparatuscomprising: an intra predicting unit configured to: predict a video datasample included in a current block based on a bi-linear interpolationusing a first reference sample, a second reference sample, a thirdreference sample, and a fourth reference sample, the first referencesample being a left neighboring sample of the current block and having asame y-coordinate as the video data sample, the second reference samplebeing an upper neighboring sample of the current block and having a samex-coordinate as the video data sample, the third reference sample beinga reference sample taken from an upper-right neighboring block of thecurrent block and positioned in the same y-coordinate as the video datasample within a rightmost column of the current block for the bi-linearinterpolation, and the fourth reference sample being a reference sampletaken from a lower-left neighboring block of the current block andpositioned in the same x-coordinate as the video data sample within abottommost row of the current block for the bi-linear interpolation; andreconstruct the video data sample based on the predicted video datasample, wherein, a weighting factor applied for the third referencesample is determined based on the x-coordinate of the video data sample.5. The apparatus of claim 4, wherein the bi-linear interpolationcomprises: performing a first linear interpolation using the firstreference sample and the third reference sample, performing a secondlinear interpolation using the second reference sample and the fourthreference sample, and obtaining the predicted video data sample based ona result of the first linear interpolation and a result of the secondlinear interpolation.
 6. The apparatus of claim 5, wherein the predictedvideo data sample is obtained by averaging the result of the firstlinear interpolation and the result of the second linear interpolation.7. A method for encoding a video signal by an encoding apparatus inintra planar prediction mode, the method comprising: predicting a videodata sample included in a current block based on a bi-linearinterpolation using a first reference sample, a second reference sample,a third reference sample, and a fourth reference sample, the firstreference sample being a left neighboring sample of the current blockand having a same y-coordinate as the video data sample, the secondreference sample being an upper neighboring sample of the current blockand having a same x-coordinate as the video data sample, the thirdreference sample being a reference sample taken from an upper-rightneighboring block of the current block and positioned in the samey-coordinate as the video data sample within a rightmost column of thecurrent block for the bi-linear interpolation, and the fourth referencesample being a reference sample taken from a lower-left neighboringblock of the current block and positioned in the same x-coordinate asthe video data sample within a bottommost row of the current block forthe bi-linear interpolation; and encoding the video data sample based onthe predicted video data sample, wherein, a weighting factor applied forthe third reference sample is determined based on the x-coordinate ofthe video data sample.
 8. An apparatus configured to encode a videosignal in intra planar prediction mode, the apparatus comprising: anintra predicting unit configured to: predict a video data sampleincluded in a current block based on a bi-linear interpolation using afirst reference sample, a second reference sample, a third referencesample, and a fourth reference sample, the first reference sample beinga neighboring left sample of the current block and having a samey-coordinate as the video data sample, the second reference sample beingan upper neighboring sample of the current block and having a samex-coordinate line as the video data sample, the third reference samplebeing a reference sample taken from an upper-right neighboring block ofthe current block and positioned in the same y-coordinate as the videodata sample within a rightmost column of the current block for thebi-linear interpolation, and the fourth reference sample being areference sample taken from a lower-left neighboring block of thecurrent block and positioned in the same x-coordinate as the video datasample within a bottommost row of the current block for the bi-linearinterpolation; and encode the video data sample based on the predictedvideo data sample, wherein, a weighting factor applied for the thirdreference sample is determined based on the x-coordinate of the videodata sample.
 9. A non-transitory computer-readable recording mediumstoring a bitstream which is generated by a method for encoding a videosignal in intra planar prediction mode, the method comprising:predicting a video data sample included in a current block based on abi-linear interpolation using a first reference sample, a secondreference sample, a third reference sample, and a fourth referencesample, the first reference sample being a left neighboring sample ofthe current block and having a same y-coordinate as the video datasample, the second reference sample being an upper neighboring sample ofthe current block and having a same x-coordinate as the video datasample, the third reference sample being a reference sample taken froman upper-right neighboring block of the current block and positioned inthe same y-coordinate as the video data sample within a rightmost columnof the current block for the bi-linear interpolation, and the fourthreference sample being a reference sample taken from a lower-leftneighboring block of the current block and positioned in the samex-coordinate as the video data sample within a bottommost row of thecurrent block for the bi-linear interpolation; and encoding the videodata sample based on the predicted video data sample, wherein, aweighting factor applied for the third reference sample is determinedbased on the x-coordinate of the video data sample.